<template>
  <div>
    <h1>{{ msg }}</h1>
    <h2 @click="showName">姓名:{{ name }}</h2>
    <h2>性别:{{ gender }}</h2>
    <button>点我涨一岁</button>
  </div>
</template>

<script>
import {mixin} from '../mixin.js';

export default {
  name: "StudentVue",
  data() {
    return {
      msg: "Hello,Everyone!",
      name: "南野秀一",
      gender: "男",
    };
  },
  methods: {
    addAge() {
      this.myAge++;
    },
  },
  mixins:[mixin]
};
</script>

<style>
</style>